package com.zhou.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @Description : 好友实体类
 * @Author : zyy
 * @Date: 2024/6/25  11:35
 */
@Data
@Schema(name = "Friend", description = "好友实体类")
public class Friend {
    @Schema(name = "好友id", type = "string")
    @TableId("friend_id")
    private String friendId;

    @Schema(name = "用户id", type = "string")
    @TableField("uid")
    private String uid;

    @Schema(name = "好友id", type = "string")
    @TableField("fid")
    private String fid;

    @Schema(name = "黑名单", type = "int")
    @TableField("black_like")
    private Integer blackLike;

    @Schema(name = "创建时间", type = "date")
    @TableField("create_time")
    private Date createTime;

    @Schema(name = "修改时间", type = "date")
    @TableField("update_time")
    private Date updateTime;

    @Schema(name = "是否同意添加好友", type = "int")
    @TableField("is_agree")
    private Integer isAgree;
}
